#ifndef CONTROLPOINTFUNC_H
#define CONTROLPOINTFUNC_H

#include <QObject>
#include "BaseFunc.h"
#include "DataType/ControlPointStruct.h"

class ControlPointFunc : public BaseFunc
{
    Q_OBJECT
public:
    explicit ControlPointFunc(QObject *parent = 0);

    enum {FunctionCode = DeviceFuntionCode::ControlPoint};


    QList<ControlPointStruct> controlPointList() const;
    void setControlPointList(const QList<ControlPointStruct> &controlPointList);

    QList<ControlPointStruct> sourcePointList() const;
    void setSourcePointList(const QList<ControlPointStruct> &sourcePointList);

private:
    QList<ControlPointStruct> m_sourcePointList;
    QList<ControlPointStruct> m_controlPointList;
};

#endif // POINTCONTROLFUNC_H
